-- GENERATED SPELL FOR [Searing Whelp] --


function spell0_4324(pUnit, Event) --@Flamespit,n/a--
pUnit:FullCastSpellOnTarget(11021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4324', 3000, 1)
end

function Sorts_4324(pUnit, Event)
local choix_sorts_4324 = math.random(0, 0)
if choix_sorts_4324 == 0 then
pUnit:RegisterEvent('spell0_4324', 1, 1)
end
end

function mob4324_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4324', math.random(1500, 3000), 1)
end

function mob4324_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4324_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4324_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4324, 1, 'mob4324_Action')
RegisterUnitEvent(4324, 2, 'mob4324_Leave')
RegisterUnitEvent(4324, 3, 'mob4324_Kill')
RegisterUnitEvent(4324, 4, 'mob4324_Die')
